export function getCurrentDateTime() {
  const now = new Date();
  const date = now.toLocaleDateString();
  const time = now.toLocaleTimeString();
  return { date, time };
}

// mock 天气数据
export async function getWeather() {
  
  return Promise.resolve({
    city: "上海",
    weather: "晴",
    temperature: "32°C"
  });
}